package com.design.factory.simple.instance01;

public class Main {
    public static void main(String[] args) {
        Car car = CarFactory.getInstance(BlueCar.class);
        System.out.println(car.getColor());
    }
}
